package com.vogue.supplymall.order.domain.service;

import com.vogue.supplymall.common.annotation.AkkaRemoteServer;
import com.vogue.supplymall.order.domain.model.OrderPayment;
import java.util.Optional;

/**
 * The interface Order payment service.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-02-05
 */
@AkkaRemoteServer
public interface OrderPaymentService extends BaseService<OrderPayment, Long> {

    /**
     * Gets for order id.
     *
     * @param orderId the order id
     * @return the for order id
     */
    Optional<OrderPayment> getForOrderId(Long orderId);
}
